<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>INSPINIA | jqGrid</title>

    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="../font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="../css/animate.css" rel="stylesheet">
    <link href="../css/plugins/jQueryUI/jquery-ui-1.10.4.custom.min.css" rel="stylesheet">
    <link href="../css/plugins/jqGrid/ui.jqgrid.css" rel="stylesheet">
    <link href="../css/style.css" rel="stylesheet">
</head>

<body style="background-color: #f3f3f4;">
	<!-- 内容 -->
	<div class="gray-bg">
		<div class="wrapper wrapper-content animated fadeInRight">
			<div class="row">
				<div class="col-lg-12">
					<div class="ibox ">
						<div class="ibox-title">
							<h5>Editor</h5>
						</div>
						<div class="ibox-content" id="editor">

						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
    <!-- Mainly scripts -->
    <script src="../js/jquery-2.1.1.js"></script>
    <script src="../js/bootstrap.min.js"></script>
    <script src="../js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="../js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!-- wangEditor -->
    <script src="../js/plugins/wangEditor/wangEditor.js"></script>
	<script src="../js/common.js"></script>
    <script>
        var E = window.wangEditor;
        var editor = new E('#editor');
        editor.customConfig.uploadImgParams = {
            token: token
        };
        editor.customConfig.uploadFileName = 'myfiles';
        editor.customConfig.uploadImgServer = baseURL + 'fileUpload';
        editor.create();
    </script>

</body>

</html>
